
class Demo_static(object):

    def my_decorator(self, func):
        def wrapper():
            func()
            print('清炒')
            print('出锅')

        return wrapper

    def tu_dou_si(self):
        print('清洗土豆')
        print('去皮，切丝')
        
        
if __name__ == '__main__':
    
    qing_chao_tu_dou_si = Demo_static().my_decorator(tu_dou_si)
    qing_chao_tu_dou_si()